In version 7.2.10 then we select any options in TokenList new value is passed directly to the valueSource thus setting the VALID state for the datasource (see selected line on the screenshot below).
This case can be reproduced in the screen-profiler window - it contains tokenList bound to the datasource with refresh-mode = NEVER. Currently we're not able to add users in this screen to collect profiling data.
<dsContext>
<collectionDatasource id="allUsersDs" class="com.haulmont.cuba.security.entity.User" view="_minimal">
<query>select u from sec$User u order by u.name</query>
</collectionDatasource>
<collectionDatasource id="usersDs" class="com.haulmont.cuba.security.entity.User" view="_minimal"
refreshMode="NEVER" allowCommit="false"/>
....
<tokenList datasource="usersDs" inline="true" width="350px" height="100px">
<lookup optionsDatasource="allUsersDs"/>
</tokenList>
Environment
Description of the bug or enhancement
In version 7.2.10 then we select any options in TokenList new value is passed directly to the valueSource thus setting the VALID state for the datasource (see selected line on the screenshot below).
This case can be reproduced in the screen-profiler window - it contains tokenList bound to the datasource with refresh-mode = NEVER. Currently we're not able to add users in this screen to collect profiling data.