-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Duplicate tag when using custom object with PushRow #552
Comments
Can you supply one demo? |
Here is the demo where you can see that it works using AlertRow but you get the Duplicate tag error when using PushRow. Thanks |
This is strange. That error pops up when you are defining two rows with the same tag. Can you double check that you are not doing that? |
I just give both rows difrerent tags and the issue still there:
Seems for me that the error comes when trying to build all the rows for the pushrow array and it gives the same tag to each row. That's what I think. |
It works if you declare your class ServicePaymentRate to be |
Well if I convert that to CustomStringConvertible yes it works but then on the onChange() event I get a string as row.value instead of my object. In AlertRow it works the way it should be because I get the entire object and then I can select any property of that in case I need it. Any clue Mats? Appreciate it. |
No in |
Let me try, and let you know... sounds terrific. 👍 |
Thanks it worked great!!. |
You say declare your class ServicePaymentRate to be "CustomStringConvertible". Did you mean My class should implement the "CustomStringConvertible" protocol? Thank you for help |
Yes exactly. That is what I meant |
thank you. |
For anyone that might be googling for this bug, I had a similar problem when there was data to be selected from a list and there was duplicate data displayed on the list. Actually, I think it happened when there was the same name trying to be displayed in the second list on a single screen; not quite sure, but it was definitely caused by duplicate data. |
Hi,
I have been using custom objects with
AlertRow
without any problem.Now, I tried to change
AlertRow
withPushRow
and I get the following error:assertion failed: Duplicate tag DashPress.ServicePaymentRate: file /Users/demo/Documents/Development/Swift/Dashboard/dashboard main/Pods/Eureka/Source/Core/BaseRow.swift, line 146
Here is the code:
Any clue on why Im getting this error using
PushRow
but it's working without error withAlertRow
?The text was updated successfully, but these errors were encountered: