[F/OS] - Dynamic Components Extension (for every component) 2.3.0

In which format? Hex code as string? For example “FFFFFF” as white? or “000000” as black?

The color code of Kodular. To calculate that, you can do it manually:

Or use Kodular colour unities
the block hex to int, and use Do it to get the code.

1 Like

Thanks for information.
But read my question carefully. I have asked
 how can implement it in template of .Schema block of Dynamic Component Extension?

1 Like

As I said, get the result. It should be a integer.
Example:
image

3 Likes

OK
 Let me try it.
Thanks again.

1 Like

Maybe you should create a seperate block for last created id

Yes
done. As you said I followed same procedure.
Many many thanks for help.

1 Like

Its already there image

4 Likes

No i mean the last created id like seperate id for last created component and a separate ID for last used id

Can you explain more? I didn’t understand what you mean

I am having another problem while generating spinner dynamically. It got fired the event “After Selection” while dynamically creating that.

But while I am creating spinner statically it is not.

Is there any solution?

The extension doesn’t execute any event of the components. So the issue is about Spinner component probably, however, you can add an “if” block to check if the selection is invalid.

I also thinking same way, but what will be the ‘If’ condition? so that I can identify between the event fired at initiation and actual event?

Maybe something like this:
image

This will never work for me
 because all spinner have text in first element. In natural “after selecting” and “initiation” event it return first value.

Maybe you can add another first item named “Select one from list
” to the all spinners.

Yes
 that might work. But as per my app business logic the first element should be selected at initiation. So, I have to find out different logic.

Anyhow I have to identify that the event is fired at the time of initiation. Then I can ignore that event.

Maybe you can add a variable and set its value to “true” in the SchemaCreated event, and in the AfterSelection you can use the variable if the event is fired before SchemaCreated event.

Yes
 this may help me
 Let me try this.

No
not worked for me. All the Spinner “after seletion” event fired after “SchemaCreated” event.