mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 08:07:56 -06:00
feat: Add bulk edit forms
This commit is contained in:
@@ -137,7 +137,7 @@ class _LabelFormFieldState<T extends Label> extends State<LabelFormField<T>> {
|
||||
decoration: InputDecoration(
|
||||
prefixIcon: widget.prefixIcon,
|
||||
label: Text(widget.textFieldLabel),
|
||||
hintText: _getLocalizedHint(context),
|
||||
hintText: S.of(context)!.startTyping,
|
||||
suffixIcon: _buildSuffixIcon(context),
|
||||
),
|
||||
selectionToTextTransformer: (suggestion) {
|
||||
@@ -192,14 +192,4 @@ class _LabelFormFieldState<T extends Label> extends State<LabelFormField<T>> {
|
||||
);
|
||||
_textEditingController.clear();
|
||||
}
|
||||
|
||||
String _getLocalizedHint(BuildContext context) {
|
||||
if (T == Correspondent) {
|
||||
return S.of(context)!.startTyping;
|
||||
} else if (T == DocumentType) {
|
||||
return S.of(context)!.startTyping;
|
||||
} else {
|
||||
return S.of(context)!.filterTags;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user