|
4 | 4 | <NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="onNavigationButtonTap"></NavigationButton>
|
5 | 5 | </ActionBar>
|
6 | 6 | <ScrollView>
|
7 |
| - <GridLayout rows="auto,auto,auto,auto,auto,auto,auto"> |
8 |
| - <StackLayout row="0" backgroundColor="red" horizontalAlignment="center"> |
| 7 | + <StackLayout> |
| 8 | + <StackLayout backgroundColor="red" horizontalAlignment="center"> |
9 | 9 | <MDTextField id="textField1" verticalAlignment="center" variant="none" width="250" placeholderColor="green" keyboardType="datetime" hint="i am an hint" returnKeyType="next" v-model="value" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" />
|
10 | 10 | </StackLayout>
|
11 |
| - <GridLayout row="1" backgroundColor="red" rows="auto" padding="20"> |
| 11 | + <GridLayout backgroundColor="red" rows="auto" padding="20"> |
12 | 12 | <MDTextField id="textField2" variant="filled" hint="hint me" v-model="value" backgroundColor="green" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" floating="false" />
|
13 | 13 | </GridLayout>
|
14 |
| - <MDTextField row="2" id="textField3" hint="filled" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" margin="10" /> |
15 |
| - <MDTextField row="3" id="textField4" maxLength="10" variant="outline" hint="outline" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" floatingColor="red" margin="10" buttonColor="red"/> |
16 |
| - <MDTextField row="4" id="textField5" variant="outline" hint="outline" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" floatingColor="red" placeholderColor="blue" strokeColor="green" margin="10" /> |
17 |
| - <MDTextField row="5" id="textField6" variant="filled" required="true" email="true" hint="fill this out..." @focus="onFocus" @blur="onBlur" floating="false" @textChange="onTextChange" @returnPress="onReturnPress" strokeColor="red" margin="10" /> |
18 |
| - </GridLayout> |
| 14 | + <MDTextField id="textField3" hint="filled" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" margin="10" /> |
| 15 | + <MDTextField id="textField4" maxLength="10" variant="outline" hint="outline" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" floatingColor="red" margin="10" buttonColor="red"/> |
| 16 | + <MDTextField id="textField5" variant="outline" hint="outline" @focus="onFocus" @blur="onBlur" @textChange="onTextChange" @returnPress="onReturnPress" floatingColor="red" placeholderColor="blue" strokeColor="green" margin="10" /> |
| 17 | + <MDTextField id="textField6" variant="filled" required="true" email="true" hint="fill this out..." @focus="onFocus" @blur="onBlur" floating="false" @textChange="onTextChange" @returnPress="onReturnPress" strokeColor="red" margin="10" /> |
| 18 | + <MDTextField id="textField7" variant="filled" hint="limited digits 0123456789." @focus="onFocus" @blur="onBlur" floating="false" @textChange="onTextChange" @returnPress="onReturnPress" digits="0123456789." strokeColor="red" margin="10" /> |
| 19 | + </StackLayout> |
19 | 20 | </ScrollView>
|
20 | 21 | </Page>
|
21 | 22 | </template>
|
|
0 commit comments