Skip to content

Select drop-down facts #30

Open
Open
@eazuka

Description

@eazuka

First i want to say you have done a really nice work with the json rule builder, your efforts are appreciated.

I will like to know, how is it possible to drop down select box for facts. I want option where for example, if i am created a country fact, i want the user to only be able to select available country i have added to dropdown. User should not be able to type country. and other use case for drop down select box.

How possible is this?

Activity

vinzdeveloper

vinzdeveloper commented on Aug 13, 2021

@vinzdeveloper
Owner

Thanks @eazuka , Currently we dont have any functionalities to maintain possible fact values to be selected. When we creating facts, it just prompt fact name and type.
Only during validation, we can verify our expected output is returned or not.

However, it will be nice to have the control of fact values to be selected. Probably, we can prompt possible values for facts while creation itself (along with fact name and type) and same values can be populated in dropdown mode instead of free form text. I will think about it and if anybody shows interest, i will prioritise it.

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

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @eazuka@vinzdeveloper

        Issue actions

          Select drop-down facts · Issue #30 · vinzdeveloper/json-rule-editor