Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Improvement/Feature Request: Need a Loader for Select Field  #16

Description

@gammaSpeck

Recording

Screen.Recording.2023-08-08.at.6.30.30.PM.mov

To Replicate

Flow version : "@cldcvr/flow-form-builder": "^1.7.0"

In any use case of f-form-builder, have a dropdown field which has loading value set to true.

{
	label: { title: "Dataset" },
	type: "select",
	searchable: true,
	loading: true,
	createOption: isCreateNewDatasetAllowed.value,
	placeholder: "Enter your dataset name",
	options: datasets.value,
	validationRules: [
		{ name: "required" },
		{
			name: "custom",
			validate: dataset => typeof dataset === "string" && datasetValidity.isValid,
			message: datasetValidity.msg
		}
	],
	clear: true
}

Expected behaviour

There must be a loader on the field, and it is debatable whether or not edits during this loading phase should be allowed or not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions