input tags 50%
This commit is contained in:
parent
47d80791e5
commit
7e6de0aa38
@ -394,26 +394,30 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
|||||||
onTap: () => onTapFunctionTimePicker(
|
onTap: () => onTapFunctionTimePicker(
|
||||||
context: context, position: "end")),
|
context: context, position: "end")),
|
||||||
),
|
),
|
||||||
Padding(
|
TextFieldTags<String>(
|
||||||
padding: const EdgeInsets.only(
|
textfieldTagsController: _stringTagController,
|
||||||
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
initialTags: ['python', 'java'],
|
||||||
//padding: EdgeInsets.symmetric(horizontal: 15),
|
textSeparators: const [' ', ','],
|
||||||
child: TextFieldTags<String>(
|
validator: (String tag) {
|
||||||
textfieldTagsController: _stringTagController,
|
if (tag == 'php') {
|
||||||
initialTags: ['python', 'java'],
|
return 'Php not allowed';
|
||||||
textSeparators: const [' ', ','],
|
}
|
||||||
validator: (String tag) {
|
return null;
|
||||||
if (tag == 'php') {
|
},
|
||||||
return 'Php not allowed';
|
inputFieldBuilder: (context, inputFieldValues) {
|
||||||
}
|
return Padding(
|
||||||
return null;
|
padding: const EdgeInsets.only(
|
||||||
},
|
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
||||||
inputFieldBuilder: (context, inputFieldValues) {
|
child: TextField(
|
||||||
return TextField(
|
|
||||||
controller: inputFieldValues.textEditingController,
|
controller: inputFieldValues.textEditingController,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
border: OutlineInputBorder(),
|
||||||
|
labelText: 'Tags evenement',
|
||||||
|
hintText:
|
||||||
|
'Cliquez ici pour ajouter ou supprimer des tags'),
|
||||||
focusNode: inputFieldValues.focusNode,
|
focusNode: inputFieldValues.focusNode,
|
||||||
);
|
));
|
||||||
})),
|
}),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user