mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
LibGUI: Verify NonemptyText InputBox doesn't result in an empty string
This commit is contained in:
parent
506c26acce
commit
71f5bbab42
2 changed files with 19 additions and 6 deletions
|
@ -32,10 +32,11 @@ private:
|
|||
explicit InputBox(Window* parent_window, DeprecatedString text_value, StringView prompt, StringView title, InputType input_type, StringView placeholder);
|
||||
|
||||
virtual void on_done(ExecResult) override;
|
||||
void build(InputType input_type);
|
||||
void build();
|
||||
|
||||
DeprecatedString m_text_value;
|
||||
DeprecatedString m_prompt;
|
||||
InputType m_input_type;
|
||||
DeprecatedString m_placeholder;
|
||||
|
||||
RefPtr<Button> m_ok_button;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue