We found 7 matches for: state ui: getters

An overview of all state ui: getters blocks currently available, updated daily!

state: get uploaded file

Get a recently uploaded file. The file is stored on a temp. dir, move it if you want to keep it.

In-pins

flow
form id
A unique ID for the form. Used to retrieve the file

Out-pins

flow
file
File succesfully uploaded
success
Returns true if a file was found.
filename
Original file name given when uploaded
mimetype
Original file mimetype given when uploaded
size
Original file size given when uploaded
state: get key

Get given key from the current UI state.

In-pins

field
The name of field to grab from the current UI state. Can be deep-key (e.g. form.name)
state: is empty

Checks if the given field is empty.

Out-pins

condition
Returns true if the given field is empty.
state: custom is empty

Checks if a custom field is empty.

In-pins

field
The name of field to grab from the current UI state. Can be deep-key (e.g. form.name)

Out-pins

condition
Returns true if the given field is empty.
state: is not empty

Checks if the given field is not empty.

Out-pins

condition
Returns true if the given field is not empty.
state: get fields

Get given field(s) from the current UI state.

state: custom is not empty

Checks if a custom field is not empty.

In-pins

field
The name of field to grab from the current UI state. Can be deep-key (e.g. form.name)

Out-pins

condition
Returns true if the given field is not empty.