Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Proper way to clone a custom field #16161

    Hi. I'm getting some weird behaviour related to this. My custom field has some selects that are used to filter asyncronously a list with the option for the field. The custom field looks like this:

    [Service Type]
    [Service Region]
    [Service]

    All of those three inputs are selects but only the last one is the value that should be stored. It's wrapped as a vue.js app and when you select one of the [Service Type] or [Service Region] options, the [Service] select is populated with data.

    The [Service] select has the class rwmb-vueselect so it can be detected by the plugin.

    With a single input it works well, but when I clone it, the data of the first input stores the [Service Region] selection of the second field and the second field stores it's proper data from its [Service]. Is there any way to explicitly say which fields should be stored?

    in reply to: Proper way to clone a custom field #15032

    Thank you so much! It worked perfectly!
    It would be good to see a comment about the relation of the css class and the "cloneability" of the field in the documentation of the RWMB_Field Class.

    Have a great day 🙂

Viewing 2 posts - 1 through 2 (of 2 total)