{"id":2217,"date":"2025-02-01T21:10:49","date_gmt":"2025-02-01T19:10:49","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=2217"},"modified":"2025-02-03T19:14:07","modified_gmt":"2025-02-03T17:14:07","slug":"react-native-inputs-and-forms","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/","title":{"rendered":"Inputs and Forms"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05dc\u05e7\u05d5\u05d3 html \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05e7\u05d3\u05d9\u05dd \u05dc\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05de\u05d4\u05de\u05e9\u05ea\u05de\u05e9. \u05dc-react native \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05d7\u05d5\u05ea \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05dc-expo \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d9\u05d4 \u05e9\u05de\u05e8\u05d7\u05d9\u05d1\u05d4 \u05d0\u05ea \u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05de\u05e2\u05d1\u05e8 \u05dc\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e9\u05dc react native \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e9\u05de\u05d8\u05e4\u05dc\u05d5\u05ea \u05d1\u05d8\u05e4\u05e1\u05d9\u05dd.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TextInput<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d4\u05d5\u05e1\u05e4\u05d4 \u05d4\u05d1\u05e1\u05d9\u05e1\u05d9\u05ea \u05e9\u05dc TextInput. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e8\u05d0\u05d5\u05ea \u05d0\u05ea \u05d4\u05e8\u05db\u05d9\u05d1 \u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05d5\u05ea\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;SafeAreaView style={styles.safeContainer}&gt;\n  &lt;TextInput style={styles.input} \/&gt;\n&lt;\/SafeAreaView&gt;\n...\ninput: {\n  height: 40,\n  margin: 12,\n  padding: 10,\n  borderWidth: 1\n}\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d5\u05db\u05e0\u05e1 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-state.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [2,5,9,10]; title: ; notranslate\" title=\"\">\nimport { Text, SafeAreaView, StyleSheet, View, StatusBar, TextInput } from &quot;react-native&quot;;\nimport { useState } from &quot;react&quot;;\n\nexport default function Index() {\n  const &#x5B;name, setName] = useState(&quot;&quot;);\n\n  return (\n    &lt;SafeAreaView style={styles.safeContainer}&gt;\n      &lt;TextInput style={styles.input} value={name} onChangeText={setName} \/&gt;\n      &lt;Text&gt;Name is {name}&lt;\/Text&gt;\n    &lt;\/SafeAreaView&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">TextInput Props<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>placeholder <\/strong>&#8211; \u05d8\u05e7\u05e1\u05d8 \u05d4\u05d3\u05e8\u05db\u05d4 \u05d1\u05ea\u05d5\u05da \u05ea\u05d9\u05d1\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">secureTextEntry &#8211; \u05d4\u05d5\u05e4\u05da \u05d0\u05ea \u05d4\u05e7\u05dc\u05d8 \u05dc\u05e0\u05e7\u05d5\u05d3\u05d5\u05ea \u05d0\u05d5 \u05db\u05d5\u05db\u05d1\u05d9\u05d5\u05ea \u05dc\u05d4\u05e1\u05ea\u05d9\u05e8 \u05d0\u05d5\u05ea\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">keyboardType &#8211; \u05e9\u05d9\u05e0\u05d5\u05d9 \u05d4\u05de\u05e7\u05dc\u05d3\u05ea \u05e9\u05ea\u05d5\u05e4\u05d9\u05e2 \u05db\u05d0\u05e9\u05e8 \u05de\u05db\u05e0\u05d9\u05e1\u05d9\u05dd \u05ea\u05d5\u05db\u05df. \u05dc\u05de\u05e9\u05dc numeric \u05d9\u05ea\u05df \u05de\u05e7\u05dc\u05d3\u05ea \u05e9\u05dc \u05de\u05e1\u05e4\u05e8\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;TextInput style={styles.input} value={name} \n  onChangeText={setName} \n  placeholder=&quot;Enter you name&quot;\n  secureTextEntry\n  keyboardType=&quot;numeric&quot;\n\/&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">autoCorrect &#8211; \u05d4\u05d0\u05dd \u05dc\u05d0\u05e4\u05e9\u05e8 \u05ea\u05d9\u05e7\u05d5\u05df \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9 \u05e9\u05dc \u05d8\u05e7\u05e1\u05d8, \u05dc\u05d4\u05d5\u05e8\u05d9\u05d3 \u05d1\u05de\u05e7\u05e8\u05d4 \u05e9\u05dc \u05e9\u05dd \u05de\u05e9\u05ea\u05de\u05e9 \u05d5\u05e1\u05d9\u05e1\u05de\u05d0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">autoCapitalize &#8211; \u05d4\u05d0\u05dd \u05dc\u05d0\u05e4\u05e9\u05e8 \u05ea\u05d9\u05e7\u05d5\u05df \u05d0\u05d5\u05ea \u05e8\u05d0\u05e9\u05d5\u05e0\u05d4 \u05dc\u05d2\u05d3\u05d5\u05dc\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;TextInput style={styles.input} value={name} \n  onChangeText={setName} \n  placeholder=&quot;Enter you name&quot;\n  autoCorrect={false}\n  autoCapitalize=&quot;none&quot;\n\/&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Multiline TextInput<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05d9\u05e6\u05d5\u05e8 \u05ea\u05d9\u05d1\u05ea \u05d8\u05e7\u05e1\u05d8 \u05e2\u05dd \u05de\u05e1\u05e4\u05e8 \u05e9\u05d5\u05e8\u05d5\u05ea \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-TextInput \u05e2\u05dd \u05d4\u05d2\u05d3\u05e8\u05ea multiline.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;TextInput style={&#x5B;styles.input, styles.multilineText]} \n  multiline\n  placeholder=&quot;Message&quot;\n\/&gt;\n...\nmultilineText: {\n    minHeight: 100,\n    textAlignVertical: &quot;top&quot;\n}\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Switch<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05dc\u05d1\u05d7\u05d9\u05e8\u05ea \u05de\u05e6\u05d1 \u05d0\u05d7\u05d3 \u05de\u05d1\u05d9\u05df \u05e9\u05e0\u05d9\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;View style={styles.switchContainer}&gt;\n  &lt;Text&gt;Dark Mode&lt;\/Text&gt;\n  &lt;Switch \/&gt;\n&lt;\/View&gt;\n...\nswitchContainer: {\n  flexDirection: &quot;row&quot;,\n  alignItems: &quot;center&quot;,\n  justifyContent: &quot;space-between&quot;,\n  paddingHorizontal: 10\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e0\u05d7\u05e0\u05d5 \u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4\u05de\u05e1\u05da, \u05d0\u05d1\u05dc \u05db\u05d3\u05d9 \u05e9\u05d4\u05d9\u05d0 \u05ea\u05e2\u05d1\u05d5\u05d3 \u05e6\u05e8\u05d9\u05da \u05dc\u05d7\u05d1\u05e8 \u05d0\u05d5\u05ea\u05d4 \u05dc-state.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst &#x5B;isDarkMode, setIsDarkMode] = useState(false);\n\n&lt;Switch \n  value={isDarkMode}\n  onValueChange={() =&gt; setIsDarkMode((previousState) =&gt; !previousState)}\n  trackColor={{false: &quot;#767577&quot;, true: &quot;lightblue&quot;}}\n  thumbColor=&quot;#f4f3f4&quot;\n\/&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Login Form<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d1\u05e0\u05d4 \u05d8\u05d5\u05e4\u05e1 login. \u05e0\u05ea\u05d7\u05d9\u05dc \u05de\u05d1\u05e0\u05d9\u05d9\u05d4 \u05d1\u05e1\u05d9\u05e1\u05d9\u05ea \u05e9\u05dc \u05d4\u05e4\u05e7\u05d3\u05d9\u05dd \u05d1\u05d8\u05d5\u05e4\u05e1 \u05d5\u05db\u05e4\u05ea\u05d5\u05e8 \u05dc\u05d0\u05d9\u05e9\u05d5\u05e8. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { Text, SafeAreaView, StyleSheet, \n  StatusBar, TextInput, View, Button } from &quot;react-native&quot;;\n\nexport default function Index() {\n\n  return (\n    &lt;SafeAreaView style={styles.safeContainer}&gt;\n      &lt;View style={styles.formContainer}&gt;\n      &lt;Text style={styles.label}&gt;Username&lt;\/Text&gt;\n        &lt;TextInput\n          style={styles.input}\n          placeholder=&quot;Enter your username&quot;\n        \/&gt;\n\n        &lt;Text style={styles.label}&gt;Password&lt;\/Text&gt;\n        &lt;TextInput\n          style={styles.input}\n          placeholder=&quot;Enter your password&quot;\n          secureTextEntry\n        \/&gt;\n\n        &lt;Button title=&quot;Login&quot; onPress={() =&gt; {}} \/&gt;\n      &lt;\/View&gt;\n    &lt;\/SafeAreaView&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  safeContainer: {\n    flex: 1,\n    backgroundColor: &quot;#f5f5f5&quot;,\n    justifyContent: &quot;center&quot;,\n    paddingHorizontal: 20,\n    \/\/ Will add padding only in andoird\n    paddingTop: StatusBar.currentHeight \n  },\n\n  formContainer: {\n    backgroundColor: &quot;#ffffff&quot;,\n    padding: 20,\n    borderRadius: 10,\n    shadowColor: &quot;#000&quot;,\n    shadowOffset: {\n      width: 0,\n      height: 2,\n    },\n    shadowOpacity: 0.25,\n    shadowRadius: 3.84,\n    elevation: 5,\n    margin: 20\n  },\n\n  label: {\n    fontSize: 16,\n    marginBottom: 5,\n    fontWeight: &quot;bold&quot;,\n  },\n  input: {\n    height: 40,\n    borderColor: &quot;#ddd&quot;,\n    borderWidth: 1,\n    marginBottom: 15,\n    padding: 10,\n    borderRadius: 5,\n  },\n}) \n<\/pre><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"295\" height=\"476\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png\" alt=\"\" class=\"wp-image-2225\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png 295w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002-186x300.png 186w\" sizes=\"(max-width: 295px) 100vw, 295px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05e2\u05e7\u05d5\u05d1 \u05d0\u05d7\u05e8\u05d9 \u05e7\u05dc\u05d8 \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-useState.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [8,9,17,18]; title: ; notranslate\" title=\"\">\nconst &#x5B;username, setUsername] = useState(&quot;&quot;);\nconst &#x5B;password, setPassword] = useState(&quot;&quot;);\n...\n&lt;Text style={styles.label}&gt;Username&lt;\/Text&gt;\n&lt;TextInput\n  style={styles.input}\n  placeholder=&quot;Enter your username&quot;\n  value={username}\n  onChangeText={setUsername}\n\/&gt;\n\n&lt;Text style={styles.label}&gt;Password&lt;\/Text&gt;\n&lt;TextInput\n  style={styles.input}\n  placeholder=&quot;Enter your password&quot;\n  secureTextEntry\n  value={password}\n  onChangeText={setPassword}\n\/&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">KeyboardAvoidingView<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05d1\u05e2\u05d9\u05d4 \u05e2\u05dd \u05d8\u05e4\u05e1\u05d9\u05dd \u05d1\u05de\u05db\u05e9\u05d9\u05e8\u05d9\u05dd \u05e0\u05d9\u05d9\u05d3\u05d9\u05dd, \u05e9\u05d0\u05dd \u05dc\u05d5\u05d7\u05e6\u05d9\u05dd \u05e2\u05dc \u05e9\u05d3\u05d4 \u05e7\u05dc\u05d8 \u05d5\u05d4\u05d5\u05d0 \u05e0\u05de\u05e6\u05d0 \u05dc\u05de\u05d8\u05d4 \u05d1\u05de\u05e1\u05da, \u05d4\u05de\u05e7\u05dc\u05d3\u05ea \u05e9\u05e7\u05d5\u05e4\u05e6\u05ea \u05de\u05db\u05e1\u05d4 \u05d0\u05ea \u05e9\u05d3\u05d4 \u05d4\u05e7\u05dc\u05d8 \u05d5\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05dc\u05d0 \u05e8\u05d5\u05d0\u05d4 \u05d0\u05d5\u05ea\u05d5. \u05d0\u05dd \u05e0\u05d5\u05e1\u05d9\u05e3 \u05ea\u05de\u05d5\u05e0\u05d4 \u05e9\u05ea\u05d3\u05d7\u05e3 \u05d0\u05ea \u05d4\u05ea\u05d5\u05db\u05df \u05dc\u05de\u05d8\u05d4, \u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d6\u05d4 \u05e7\u05d5\u05e8\u05d4. \u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05d4\u05d5\u05d0 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-KeyboardAvoidingView.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d7\u05dc\u05d9\u05e3 \u05d0\u05ea \u05d4-View \u05e9\u05e2\u05d5\u05d8\u05e3 \u05d0\u05ea \u05d4\u05db\u05dc \u05d1-KeyboardAvoidingView.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;KeyboardAvoidingView\n    behavior=&quot;padding&quot;\n    keyboardVerticalOffset={Platform.OS === &quot;ios&quot; ? 100 : 0}\n    style={styles.mainContainer}\n&gt;\n...\n&lt;\/KeyboardAvoidingView&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-keyboardVerticalOffset \u05d4\u05d5\u05d0 \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d4\u05e2\u05dc\u05d5\u05ea \u05d0\u05ea \u05d4\u05ea\u05d5\u05db\u05df \u05e2\u05d5\u05d3 \u05e7\u05e6\u05ea \u05dc\u05de\u05d8\u05d4 \u05d1-IOS, \u05de\u05db\u05d9\u05d5\u05d5\u05df \u05e9\u05d0\u05dd \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05ea\u05d5\u05db\u05df, \u05d4\u05e7\u05dc\u05d8 \u05e0\u05de\u05e6\u05d0 \u05e2\u05d3\u05d9\u05d9\u05df \u05dc\u05de\u05d8\u05d4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Form Validation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05e6\u05d5\u05e8 state \u05dc\u05d0\u05d7\u05e1\u05df \u05d0\u05ea \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea \u05d4\u05e9\u05d2\u05d9\u05d0\u05d4. \u05e0\u05db\u05ea\u05d5\u05d1 \u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 validateForm \u05e9\u05ea\u05d7\u05d6\u05d9\u05e8 \u05d4\u05d5\u05d3\u05e2\u05ea \u05e9\u05d2\u05d9\u05d0\u05d4 \u05d0\u05d5 true \u05d0\u05dd \u05d4\u05db\u05dc \u05d1\u05e1\u05d3\u05e8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst &#x5B;errors, setErrors] = useState({username: &#039;&#039;, password: &#039;&#039;});\n\nconst validateForm = () =&gt; {\n  let errors = {username, password};\n\n  if (!username) errors.username = &quot;Username is required&quot;;\n  if (!password) errors.password = &quot;Password is required&quot;;\n\n  setErrors(errors);\n\n  return Object.keys(errors).length === 0;\n};\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05ea \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea \u05d4\u05e9\u05d2\u05d9\u05d0\u05d4 \u05e0\u05e6\u05d9\u05d2 \u05e2\u05dc \u05d4\u05de\u05e1\u05da.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [13,25]; title: ; notranslate\" title=\"\">\n&lt;View style={styles.formContainer}&gt;\n  &lt;Image style={styles.formLogo}\n    source={require(&quot;..\/assets\/images\/epic-logo.png&quot;)}\/&gt;\n\n  &lt;Text style={styles.label}&gt;Username&lt;\/Text&gt;\n  &lt;TextInput\n    style={styles.input}\n    placeholder=&quot;Enter your username&quot;\n    value={username}\n    onChangeText={setUsername}\n  \/&gt;\n  {\n    errors.username ? (&lt;Text style={styles.errorText}&gt;{errors.username}&lt;\/Text&gt;) : null\n  }\n\n  &lt;Text style={styles.label}&gt;Password&lt;\/Text&gt;\n  &lt;TextInput\n    style={styles.input}\n    placeholder=&quot;Enter your password&quot;\n    secureTextEntry\n    value={password}\n    onChangeText={setPassword}\n  \/&gt;\n  {\n    errors.password ? (&lt;Text style={styles.errorText}&gt;{errors.password}&lt;\/Text&gt;) : null\n  }\n\n  &lt;Button title=&quot;Login&quot; onPress={() =&gt; {}} \/&gt;\n&lt;\/View&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Form Submission<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e9\u05de\u05d1\u05e6\u05e2\u05ea \u05d0\u05ea \u05e8\u05d9\u05e9\u05d5\u05dd \u05d4\u05d8\u05d5\u05e4\u05e1. \u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e0\u05d7\u05d1\u05e8 \u05dc\u05d0\u05d9\u05e8\u05d5\u05e2 \u05d4\u05d4\u05d2\u05e9\u05d4 \u05e9\u05dc \u05d4\u05d8\u05d5\u05e4\u05e1.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n...\nconst handleSubmit = () =&gt; {\n    if (validateForm()) {\n      \/\/ Usually will go to the api\n      console.log(&quot;Submitted&quot;, username, password);\n      setUsername(&quot;&quot;);\n      setPassword(&quot;&quot;);\n      setErrors({username: &#039;&#039;, password: &#039;&#039;});\n    }\n};\n...\n&lt;Button title=&quot;Login&quot; onPress={handleSubmit} \/&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u05dc\u05e7\u05d5\u05d3 html \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05e7\u05d3\u05d9\u05dd \u05dc\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05de\u05d4\u05de\u05e9\u05ea\u05de\u05e9. \u05dc-react native \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05d7\u05d5\u05ea \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05dc-expo \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d9\u05d4 \u05e9\u05de\u05e8\u05d7\u05d9\u05d1\u05d4 \u05d0\u05ea \u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05de\u05e2\u05d1\u05e8 \u05dc\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e9\u05dc react native \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e9\u05de\u05d8\u05e4\u05dc\u05d5\u05ea \u05d1\u05d8\u05e4\u05e1\u05d9\u05dd. TextInput \u05d4\u05d4\u05d5\u05e1\u05e4\u05d4 \u05d4\u05d1\u05e1\u05d9\u05e1\u05d9\u05ea \u05e9\u05dc TextInput. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e8\u05d0\u05d5\u05ea \u05d0\u05ea \u05d4\u05e8\u05db\u05d9\u05d1 \u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05d5\u05ea\u05d5. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d5\u05db\u05e0\u05e1 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-state. TextInput Props placeholder &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[80],"tags":[],"class_list":["post-2217","post","type-post","status-publish","format-standard","hentry","category-react-native","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Inputs and Forms - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Inputs and Forms - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05dc\u05e7\u05d5\u05d3 html \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05e7\u05d3\u05d9\u05dd \u05dc\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05de\u05d4\u05de\u05e9\u05ea\u05de\u05e9. \u05dc-react native \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05d7\u05d5\u05ea \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05dc-expo \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d9\u05d4 \u05e9\u05de\u05e8\u05d7\u05d9\u05d1\u05d4 \u05d0\u05ea \u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05de\u05e2\u05d1\u05e8 \u05dc\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e9\u05dc react native \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e9\u05de\u05d8\u05e4\u05dc\u05d5\u05ea \u05d1\u05d8\u05e4\u05e1\u05d9\u05dd. TextInput \u05d4\u05d4\u05d5\u05e1\u05e4\u05d4 \u05d4\u05d1\u05e1\u05d9\u05e1\u05d9\u05ea \u05e9\u05dc TextInput. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e8\u05d0\u05d5\u05ea \u05d0\u05ea \u05d4\u05e8\u05db\u05d9\u05d1 \u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05d5\u05ea\u05d5. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d5\u05db\u05e0\u05e1 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-state. TextInput Props placeholder &#8211; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-01T19:10:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-03T17:14:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png\" \/>\n\t<meta property=\"og:image:width\" content=\"295\" \/>\n\t<meta property=\"og:image:height\" content=\"476\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"Inputs and Forms\",\"datePublished\":\"2025-02-01T19:10:49+00:00\",\"dateModified\":\"2025-02-03T17:14:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/\"},\"wordCount\":48,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-03-091002.png\",\"articleSection\":[\"React Native\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/\",\"name\":\"Inputs and Forms - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-03-091002.png\",\"datePublished\":\"2025-02-01T19:10:49+00:00\",\"dateModified\":\"2025-02-03T17:14:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#primaryimage\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-03-091002.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-03-091002.png\",\"width\":295,\"height\":476},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-inputs-and-forms\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Inputs and Forms\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Inputs and Forms - Code Notebook","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/","og_locale":"he_IL","og_type":"article","og_title":"Inputs and Forms - Code Notebook","og_description":"\u05dc\u05e7\u05d5\u05d3 html \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05e7\u05d3\u05d9\u05dd \u05dc\u05e7\u05d1\u05dc\u05ea \u05de\u05d9\u05d3\u05e2 \u05de\u05d4\u05de\u05e9\u05ea\u05de\u05e9. \u05dc-react native \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05d7\u05d5\u05ea \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05dc-expo \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d9\u05d4 \u05e9\u05de\u05e8\u05d7\u05d9\u05d1\u05d4 \u05d0\u05ea \u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea. \u05de\u05e2\u05d1\u05e8 \u05dc\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e9\u05dc react native \u05d9\u05e9 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e9\u05de\u05d8\u05e4\u05dc\u05d5\u05ea \u05d1\u05d8\u05e4\u05e1\u05d9\u05dd. TextInput \u05d4\u05d4\u05d5\u05e1\u05e4\u05d4 \u05d4\u05d1\u05e1\u05d9\u05e1\u05d9\u05ea \u05e9\u05dc TextInput. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e8\u05d0\u05d5\u05ea \u05d0\u05ea \u05d4\u05e8\u05db\u05d9\u05d1 \u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05d5\u05ea\u05d5. \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d5\u05db\u05e0\u05e1 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-state. TextInput Props placeholder &#8211; [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/","og_site_name":"Code Notebook","article_published_time":"2025-02-01T19:10:49+00:00","article_modified_time":"2025-02-03T17:14:07+00:00","og_image":[{"width":295,"height":476,"url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png","type":"image\/png"}],"author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"2 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"Inputs and Forms","datePublished":"2025-02-01T19:10:49+00:00","dateModified":"2025-02-03T17:14:07+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/"},"wordCount":48,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png","articleSection":["React Native"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/","url":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/","name":"Inputs and Forms - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"primaryImageOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#primaryimage"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png","datePublished":"2025-02-01T19:10:49+00:00","dateModified":"2025-02-03T17:14:07+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/"]}]},{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#primaryimage","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-03-091002.png","width":295,"height":476},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-inputs-and-forms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"Inputs and Forms"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=2217"}],"version-history":[{"count":10,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2217\/revisions"}],"predecessor-version":[{"id":2233,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2217\/revisions\/2233"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=2217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=2217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=2217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}